<template>
  <div>
    <HmA></HmA>
  </div>
</template>

<script>
import HmA from "@/components/HmA.vue";
export default {
  components: {
    HmA,
  },
  data() {
    return {
      aaa: 1000,
      bbb:{
        num:100
      },
      ccc:['123']
    }
  },
  provide() {
    return {
      aaa:this.aaa, //简单数据类型没有响应式
      bbb:this.bbb, //复杂数据类型才有响应式
      ccc:this.ccc
    }
  }
};
</script>

<style>
</style>